package com.springboot.cloud.demos.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.springboot.cloud.common.web.entity.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_message")
/**
 * @author YangHao
 * */
public class Message extends BasePo {
    private String fromUserId;
    private String toUserId;
    /**
     * 1粉丝（关注） 2点赞，3评论
     */
    private Integer type;
    private Boolean isRead=false;
    private String valueId;
    private Integer valueType;
    private String title;
    private String content;
}
